.funPopover {
  width: 360px;
  :global{
    .ant-tabs-nav-container{
      span{
        position: absolute;
      }
    }
  }
  button {
    margin: 4px 8px 4px 0;
    padding: 0 10px;
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
    border:none;
    &:last-of-type {
      margin-right: 0;
    }
  }
}
.actionBoxs{
  height: 60px;
  line-height: 60px;
  .rightAction{
    text-align: right;
    button{
      margin-left: 10px;
      padding: 0 8px;
    }
    >span{
      cursor: pointer;
      color:rgba(96, 111, 123, 1);
      margin-right: 12px;
    }
    .searchLabel{
      position: absolute;
      height: 24px;
      width: 124px;
      right: 20px;
      bottom: -18px;
      z-index: 2;
      .rig,.searcherInput{
        height: 24px;
        i{
          display: inline-block;
          width: 24px;
          height: 24px;
          line-height: 24px;
          font-size: 14px;
          background-color: #fff;
          border-radius: 50%;
          box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.16);
          margin: 0 4px;
          cursor: pointer;
        }
      }
      .searcherInput{
        width: 120px;
        position: absolute;
        bottom: -2px;
        right: -12px;
      }
    }
  }
  .leftAction{
    color: rgba(96, 111, 123, 1);
    >span{
      margin: 4px 24px;
      vertical-align: middle;
      strong{color:#29CCB1}
    }
    button{
      margin-left: 32px;
      &:nth-of-type(2){
        margin-left: 12px;
      }
    }
  }
}

.markBoxs{
  padding:20px 16px;
  .lableBoxs{
    height: 45px;
    width: 100%;
    padding:6px 90px 6px 16px;
    border: 1px solid rgba(232, 232, 232, 1);
    border-bottom: none;
    background-color: rgba(250, 250, 250, 1);
    position: relative;
    overflow-y: auto;
    button{
      margin: 4px;
      border: none;
      opacity: .4;
    }
  }
  .labelBoxLeft{
    height: 78px;
    width: 30%;
    display: inline-block;
    padding:6px 16px;
    border: 1px solid rgba(232, 232, 232, 1);
    border-bottom: none;
    background-color: rgba(250, 250, 250, 1);
    position: relative;
    margin-bottom: -4px;
    overflow-y: auto;
  }
  .labelBoxRight{
    height: 78px;
    width: 70%;
    display: inline-block;
    padding:6px 16px;
    border: 1px solid rgba(232, 232, 232, 1);
    border-bottom: none;
    background-color: rgba(250, 250, 250, 1);
    position: relative;
    margin-bottom: -4px;
    overflow-y: auto;
  }
  .title{
    height: 15px;
    padding:6px 90px 12px 16px;
    position: relative;
  }
  .buttonBox{
    height: 45px;
    padding:12px 90px 6px 16px;
    position: relative;
    button{
      margin: 4px;
      border: none;
      opacity: .4;
    }
  }
}

.markcontent{
  padding: 16px 16px 24px;
  border: 1px solid rgba(232, 232, 232, 1);
  button{
    span{
      font-size: 14px;
      padding:0px
    }
  }
  span{
    font-size: 16px;
    display: inline-block;
    padding: 12px 0;
    position: relative;
    &[role='lables'] {
      margin: 12px 2px;
      padding: 1px 6px;
      color: #fff;
      border-radius: 4px;
      cursor: pointer;
    }
    &[role='selected']{
      color: red;
      font-weight: 700;
      background-color: #fff;
      &::selection {
        color: red;
        font-weight: 700;
        background-color: #fff;
      }
    }
    sub {
      padding: 0 4px;
      color: rgba(255, 255, 255, 0.85);
      font-family: 'SourceHanSansSC-regular';
    }
    .reStrong{
      position: absolute;
      width: 100%;
      height: 20px;
      top:-20px;
      left: 0;
      color:#29CCB1;
      padding:1px 4px;
      background-color:rgba(24, 144, 255, 0.1);
      font-weight: normal;
      font-size: 12px;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      border-radius: 4px;
    }
  }
  [role='lables']::selection {
    color:#fff;
    background-color: transparent;
  }
}

.kg_keyword0 {
  background-color: #ff7100 !important;
}
.kg_keyword1 {
  background-color: #ff9800 !important;
}
.kg_keyword2 {
  background-color: #3bbf45 !important;
}
.kg_keyword3 {
  background-color: #37bc9b !important;
}
.kg_keyword4 {
  background-color: #1890ff !important;
}
.kg_keyword5 {
  background-color: #314ed2 !important;
}
.kg_keyword6 {
  background-color: #664be8 !important;
}
.kg_keyword7 {
  background-color: #a94be8 !important;
}
.kg_keyword8 {
  background-color: #e84b9c !important;
}
.kg_keyword9 {
  background-color: #ee4e53 !important;
}
.kg_keyword10 {
  background-color: #b0a4e3 !important;
}
.kg_keyword11 {
  background-color: #ffb61e !important;
}
.kg_keyword12 {
  background-color: #ffa400 !important;
}
.kg_keyword13 {
  background-color: #fa8c35 !important;
}
.kg_keyword14 {
  background-color: #afdd22 !important;
}
.kg_keyword15 {
  background-color: #e9bb1d !important;
}
.kg_keyword16 {
  background-color: #e29c45 !important;
}
.kg_keyword17 {
  background-color: #ca6924 !important;
}
.kg_keyword18 {
  background-color: #96ce54 !important;
}
.kg_keyword19 {
  background-color: #16a951 !important;
}
.kg_keyword20 {
  background-color: #21a675 !important;
}
.kg_keyword21 {
  background-color: #48c0a3 !important;
}
.kg_keyword22 {
  background-color: #dc3023 !important;
}
.kg_keyword23 {
  background-color: #f36838 !important;
}
.kg_keyword24 {
  background-color: #f9906f !important;
}
.kg_keyword25 {
  background-color: #1685a9 !important;
}
.kg_keyword26 {
  background-color: #4b5cc4 !important;
}
.kg_keyword27 {
  background-color: #4c8dae !important;
}


button[data-visible='none']{
  display:none;
}

.addRelationBox{
  margin: -12px -16px!important;
  position: relative;
  > div{
    padding: 0!important;
    box-shadow: 2px 0 2px #e8e8e8;
  }
  .labelBox{
    padding: 4px 16px;
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(100%);
    box-shadow:0 2px  2px #e8e8e8;
    background-color: #FFF;
    max-height: 200px;
    overflow-y: scroll;
    span{
      padding: 0;
    }
  }
  .addRelation{
    padding: 4px 8px;
    max-width: 200px;
    display: block;
    color:#666;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    &[role='relation']{
      padding-right: 14px;
      background: url('') no-repeat 96% 50%;
      background-size: 12%
    }
    &[role='noRelation']{
      padding-right: 14px;
      //background: url('') no-repeat 96% 50%;
      background-size: 12%
    }
    &[data-active=true],&:hover{
      background-color: rgba(41, 204, 177, 0.08);
      color:#29CCB1;
    }
  }
}

.ant-popover-placement-bottomLeft{padding-top: 0;}
.ellipsi {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  &[data-visible="none"]{display: none;}
}

.elli{
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 500px;
  border-radius: 4px;
  vertical-align: bottom;
  margin-right: 5px;
}


.gutteBox{
  width: 100%;
  position: absolute;
  top: 20px;
  left: 0;
  z-index: 4;
  background-color: rgba(240, 242, 245, 1);
  &:after{
    display: block;
    height: 100%;
    width: 24px;
    position: absolute;
    content: "";
    left: -24px;
    top: 0;
    background-color: rgba(240, 242, 245, 1);
  }
  .leftInfo {
    color: #666;
    padding-right: 12px;
    .goBack {
      margin: 10px 0;
      padding-left: 0;
      color: #666;
      &:hover,
      &:visited,
      &:focus {
        color: #666 !important;
        border-color: transparent !important;
      }
    }
    h3 {
      color: rgba(61, 72, 82, 1);
      font-size: 18px;
      font-weight: 700;
    }
    h6 {
      color: rgba(0,0,0,.65);
      font-size: 14px;
    }
  }
  .docUl {
    min-height: 180px;
    padding: 8px 0 16px;
    li {
      position: relative;
      margin: 2px 0;
      a {
        display: block;
        padding: 4px 24px 4px 4px;
        color: #999;
        overflow: hidden;
        text-overflow:ellipsis;
        white-space: nowrap
      }
      &:hover {
        background-color: rgba(221, 227, 236, 1);
      }
      i {
        width: 14px;
        height: 14px;
        position: absolute;
        top: 8px;
        right: 6px;
        color:#fff;
        padding: 2px;
        border-radius: 50%;
        background-color: #29ccb1;
        svg{
          width: 10px;
          height: 10px;
        }
      }
    }
    .activeLi {
      a {
        color: #29ccb1;
        background-color: rgba(221, 227, 236, 1);
      }
    }
  }
}
.relationView{
  padding: 0 4px;
  position: relative;
  margin-top: 10px;
  h2{
    color: rgba(16, 16, 16, 1);
    font-size: 16px;
    font-family: 'SourceHanSansSC-regular';
    padding-bottom: 12px;
  }
  a{
    color: rgba(135, 149, 161, 1);
  }

  .items{
    margin: 16px 0;
    &[data-visible="none"]{display: none;}
    .item{
      // position: relative;
      padding:6px 20px 0 6px;
      >a{
        position: absolute;
        right: 4px;
        top: 6px;
        color:rgba(135, 149, 161, 1);
        display: none;
      }
      span:nth-of-type(2n+1){
        display: inline-block;
        max-width: 130px;
        border-radius: 4px;
        padding:2px;
        background-color: rgba(240, 242, 245, 1);
        color: rgba(135, 149, 161, 1);
        font-size: 12px;
        font-family: 'Roboto';
        border: 1px solid rgba(232, 232, 232, 1);
        width: 100%;
        text-align: center;
      }
      span:nth-of-type(2n){
        display: inline-block;
        padding:0 8px;
        vertical-align: top;
      }
      &:hover{
        // padding-left: 8px;
        background-color: rgba(240, 242, 245, 1);
        span:nth-of-type(2n+1){
          background-color: #fff;
        }
        a{
          display: block;
        }
      }
    }
    .questionLabelItem{
      padding-right: 70px;
      .questionLabelItemSpan{
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        &[data-visible="none"]{display: none;}
        display: inline-block;
        max-width: 104%;
        border-radius: 4px;
        padding:2px 16px 2px 2px;
        margin: 2px;
        background-color: rgba(240, 242, 245, 1);
        color: rgba(135, 149, 161, 1);
        font-size: 12px;
        font-family: 'Roboto';
        border: 1px solid rgba(232, 232, 232, 1);
        position: relative;
        >i{position: absolute;right: 2px;top: 4px;}
        a{
          color:rgba(135, 149, 161, 1);
        }
        &:hover{
          background-color: #fff;
        }
      }
    }
    .labelItem{
      padding-right: 70px;
      span{
        display: inline-block;
        max-width: 200px;
        border-radius: 4px;
        padding:2px 16px 2px 2px;
        margin: 2px;
        background-color: rgba(240, 242, 245, 1);
        color: rgba(135, 149, 161, 1);
        font-size: 12px;
        font-family: 'Roboto';
        border: 1px solid rgba(232, 232, 232, 1);
        position: relative;
        >i{position: absolute;right: 2px;top: 4px;}
        a{
          color:rgba(135, 149, 161, 1);
        }
        &:hover{
          background-color: #fff;
        }
      }
    }
    .noData{
      color: rgba(184, 194, 204, 1);
      font-size: 14px;
      padding-left: 6px;
      display: block;
    }
    [class="ant-badge-status-dot"]{
      width: 10px;
      height: 10px;
    }
  }
}

.helpContainer{
  width: 610px;
  h2{
    color: rgba(61, 72, 82, 1);
    font-size: 18px;
    font-weight: 700;
  }
  h4{
    color: rgba(61, 72, 82, 1);
    font-size: 14px;
    font-weight: 600;
  }
  p{
    color: rgba(96, 111, 123, 1);
    font-size: 14px;
  }
}
.voiceMark{
  height: 600px;
  width: 610px;
  overflow-y: auto;
  //overflow-x: hidden;
  img{
    width: 292px;
    height: 164px;
  }
}
.voiceImg{
  display: flex;
}

.docTab{
  padding-top: 8px;
  border-bottom: 1px solid #e8e8e8;
 >a{
   color:#333;
   font-size: 16px;
   display: inline-block;
   height: 40px;
   line-height: 40px;
   padding:0 8px;
   margin-right:  8px;
   &:hover{font-weight: 700;}
 }
 .activeMarkItem{
   font-weight: 700;
   border-bottom: 1px solid #29CCB1;
 }
}

.scroll {
  overflow-y: auto;
  max-height: 150px;
}
.labelItemContent {
  margin: 2px 12px;
  padding: 1px 6px;
  color: #fff;
  border-radius: 4px;
  text-align: center;
}

.labelItemContents {
  display: table-cell;
}

.container{
  display: table;
}
.item{
  position: relative;
  padding:6px 20px 0 6px;
  >a{
    position: absolute;
    right: 4px;
    top: 6px;
    color:rgba(135, 149, 161, 1);
    display: none;
  }
  span:nth-of-type(2n+1){
    display: inline-block;
    max-width: 130px;
    border-radius: 4px;
    padding:2px;
    background-color: rgba(240, 242, 245, 1);
    color: rgba(135, 149, 161, 1);
    font-size: 14px;
    font-family: 'Roboto';
    border: 1px solid rgba(232, 232, 232, 1);
  }
  span:nth-of-type(2n){
    display: inline-block;
    padding:0 8px;
    vertical-align: top;
  }
  div{
    color: rgba(135, 149, 161, 100);
    font-size: 12px;
    height: 26px;
    line-height: 26px;
    vertical-align: top;
    display: inline-block;
    margin-right: 5px;
    max-width: 85px;
    width: 100%;
  }
  &:hover{
    // overflow-y: scroll;
    a{
      display: block;
    }
  }
}

.roleList{
  margin: 10px 0;
  max-height: 300px;
  overflow-y: scroll;
  span{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 250px;
  }
}

.multiEntity{
  display: block;
  border:0;
  text-align: left;
  width: 100%;
  max-width: 280px;
  span{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 250px;
  }
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: "";    /*不用有内容也可以*/
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}
.show{ animation:show-item 2s infinite; }
.hide{ animation:hide-item 2s infinite; }

@keyframes scaleDraw{

  /*定义关键帧、scaleDrew是需要绑定到选择器的关键帧名称*/
  0% {
    transform: scale(1);/*开始为原始大小*/
  }

  25% {
    transform: scale(1.1);/*放大1.1倍*/
  }

  50% {
    transform: scale(1);
  }

  75% {
    transform: scale(1.1);
  }
}


.ballon {
  //width: 150px;
  //height: 200px;
  //margin: 100px auto;
  -webkit-animation-name: scaleDraw;/*关键帧名称*/
  -webkit-animation-timing-function: ease-in-out;/*动画的速度曲线*/
  -webkit-animation-iteration-count: infinite;/*动画播放的次数*/
  -webkit-animation-duration: 3s;/*动画所花费的时间*/

  /*可以简写为*/
  /* animation: scaleDraw 5s ease-in-out infinite; */
  /* -webkit-animation: scaleDraw 5s ease-in-out infinite; */
}
.unAudio{
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  font-size: 14px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0px 4px 8px 0px rgb(0 0 0 / 16%);
  margin: 0 4px;
  cursor: pointer;
}
